/*
 * This file is part of the Boring Engine API.
 *
 * Copyright (c) 2011 by pf5234 <pf5234@users.sourceforge.net>.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 */

package com.googlecode.boringengine;

import java.util.Scanner;
/**
 * Higher level graphics
 * @author pf5234
 * @see Render
 */
public class Graphics {

    /**
     * Loads a sprite from a file.
     * @param fileName the file with sprite information
     * @return the sprite loaded from the file.
     */
    public static Sprite loadSpriteFromFile(String fileName) {
        return null;
    }

    /**
     * Loads a sprite from a Scanner.
     * @param in Scanner to read sprite information
     * @return the sprite loaded from the scanner.
     */
    public static Sprite loadSpriteFromScanner(Scanner in) {
        return null;
    }

    /**
     * Draws a rectangle.
     * @param x x-coordinate of top-left point
     * @param y y-coordinate of top-left point
     * @param w width of the rectangle
     * @param h height of the rectangle
     * @param color color of the rectangle (0-9, 0 is black, 9 is white)
     */
    public static void drawRect(int x, int y, int w, int h, int color) {}

    /**
     * Draws a sprite.
     * @param s Sprite to draw
     * @param x x-coordinate of top-left point
     * @param y y-coordinate of top-left point
     */
    public static void drawSprite(Sprite s, int x, int y) {}

    /**
     * Draws a sprite.
     * @param s Sprite to draw
     * @param x x-coordinate of top-left point
     * @param y y-coordinate of top-left point
     * @param scale The scale to scale the sprite
     */
    public static void drawSprite(Sprite s, int x, int y, double scale) {}
    
    public static String getFPSString() { return null; }

    private Graphics() {}

}
